package com.bookmall.member.feign;

import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-05-03-19:07
 */
@FeignClient("bookmall-product")
public interface ProductFeignService {

    @GetMapping("/product/bookInfo/{id}")
    public AjaxResult getBookInfo(@PathVariable("id") String id);
}
